import { requestPort } from '@/utils/request.js';

//请求问题库列表
export function problemList(params) {
  return requestPort({
    url: '/api/Issue/new_getList',
    method: 'POST',
    params: params
  });
}


//请求问题详情
export function problemInfo(params) {
  return requestPort({
    url: '/api/Issue/getinfo',
    method: 'POST',
    params: params
  });
}

//请求热门搜索
export function hotSearch(params) {
  return requestPort({
    url: '/api/Index/getHotSearch',
    method: 'POST',
    params: params
  });
}